local skill = fk.CreateSkill {
  name = "efengqi__jianxiong_card_skill",
}

skill:addEffect("cardskill", {
  mute = true,
  mod_target_filter = Util.TrueFunc,
  target_filter = Util.CardTargetFilter,
  target_num = 1,
  on_effect = function(self, room, effect)
    local from = effect.from
    local to = effect.to
    if not to.dead then
      local skillName = skill.name
      if effect.card and Fk:cloneCard(effect.card.name).is_damage_card then
        skillName = Fk:cloneCard(effect.card.name).skill.name
      end
      room:damage({
        from = from,
        to = to,
        card = effect.card,
        damage = 1,
        skillName = skillName,
      })
    end
  end,
})

Fk:loadTranslationTable{
  ["efengqi__jianxiong_card_skill"] = "奸雄",
}

return skill
